﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <h1>注册页面</h1>
        <div>
            <asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="Label2" runat="server" Text="密码："></asp:Label><asp:TextBox ID="TextBox2" runat="server" TextMode ="Password"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="Label3" runat="server" Text="性别："></asp:Label><asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem Value="male">男</asp:ListItem>
                <asp:ListItem Value="female">女</asp:ListItem>
            </asp:DropDownList>
            <br />
            <br />
            省：<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack ="true" OnSelectedIndexChanged ="DropDownList2_SelectedIndexChanged"></asp:DropDownList>
            市：<asp:DropDownList ID="DropDownList3" runat="server"></asp:DropDownList>
            <br />
            <br />
            <asp:Label ID="Label4" runat="server" Text="爱好："></asp:Label><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            <br />
            <br />
            头像：<asp:Image ID="Image1" runat="server"  ImageUrl ="~/img/src=http___img5.duitang.com_uploads_item_201312_20_20131220165207_kjkFt.thumb.700_0.gif&refer=http___img5.duitang.jpg" Height="181px" style="margin-left: 0px; margin-top: 3px" Width="183px"/>
            <br />
            <br />
            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
            <br />
            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
        </div>
    </form>
</body>
</html>
